/**  
 * All rights Reserved, Designed By daiw
 * @Title:  SwaggerEntity.java   
 * @Package org.component.integration.samples.swagger   
 * @Description:    TODO (用一句话描述该文件做什么)   
 * @author: daiw     
 * @date:   2019年10月15日 下午5:59:49   
 * @Copyright: 2019 daiw Inc. All rights reserved. 
 */
package org.component.integration.samples.swagger;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @ClassName: SwaggerEntity
 * @Description: TODO (这里用一句话描述这个类的作用)
 * @author: daiw
 * @date: 2019年10月15日 下午5:59:49
 */
@ApiModel("用户信息")
public class SwaggerEntity {
	@ApiModelProperty(value = "用户名", position = 1)
	private String userName;
	@ApiModelProperty(value = "部门", position = 2)
	private String department;
	@ApiModelProperty(hidden = true, position = 3)
	private Integer age;
	@ApiModelProperty(value = "密码", position = 4)
	private String password;
	@ApiModelProperty(value = "联系方式", position = 5)
	private SwaggerSubEntity swaggerSubEntity;

	/**
	 * @return the userName
	 */
	public String getUserName() {
		return userName;
	}

	/**
	 * @param userName
	 *            the userName to set
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}

	/**
	 * @return the department
	 */
	public String getDepartment() {
		return department;
	}

	/**
	 * @param department
	 *            the department to set
	 */
	public void setDepartment(String department) {
		this.department = department;
	}

	/**
	 * @return the age
	 */
	public Integer getAge() {
		return age;
	}

	/**
	 * @param age
	 *            the age to set
	 */
	public void setAge(Integer age) {
		this.age = age;
	}

	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * @param password the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * @return the swaggerSubEntity
	 */
	public SwaggerSubEntity getSwaggerSubEntity() {
		return swaggerSubEntity;
	}

	/**
	 * @param swaggerSubEntity the swaggerSubEntity to set
	 */
	public void setSwaggerSubEntity(SwaggerSubEntity swaggerSubEntity) {
		this.swaggerSubEntity = swaggerSubEntity;
	}

}
